<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行 块 内联块</title>

    <style>
        .box {
            display: inline-block;
            background: #f4f4f4;
            padding: 20px;
            width: 30%;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
    <ul>
        <li><a href="#"></a>首页</li>
        <li><a href="#"></a>关于</li>
        <li><a href="#"></a>联系</li>
    </ul>
    <div class="box">
        <h3>Heading 1</h3>
        <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Beatae unde adipisci perspiciatis voluptas commodi quas officia ducimus accusantium tenetur quos consequuntur ullam, facilis id nobis nihil autem necessitatibus molestiae dolor?</p>
    </div>
    <div class="box">
        <h3>Heading 2</h3>
        <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Beatae unde adipisci perspiciatis voluptas commodi quas officia ducimus accusantium tenetur quos consequuntur ullam, facilis id nobis nihil autem necessitatibus molestiae dolor?</p>
    </div>
    <div class="box">
        <h3>Heading 3</h3>
        <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Beatae unde adipisci perspiciatis voluptas commodi quas officia ducimus accusantium tenetur quos consequuntur ullam, facilis id nobis nihil autem necessitatibus molestiae dolor?</p>
    </div>
</body>
</html>